package com.dao.hibernate.factory;

import com.dao.CustomerDao;
import com.dao.OrderDao;
import com.dao.ProductDao;
import com.dao.factory.DaoFactory;
import com.dao.hibernate.CustomerDaoImpl;
import com.dao.hibernate.OrderDaoImpl;
import com.dao.hibernate.ProductDaoImpl;

/**
 * @author ${user}
 */
public class HibernateDaoFactory extends DaoFactory {

    @Override
    public CustomerDao getCustomerDao() {
        return new CustomerDaoImpl();
    }


    @Override
    public ProductDao getProductDao() {
        return new ProductDaoImpl();
    }


    @Override
    public OrderDao getOrderDao() {
        return new OrderDaoImpl();
    }
}
